package camt.andy.demo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class StartingPoint extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        Thread timer = new Thread(){
			public void run(){
				
				try{
					sleep(1000);
				}catch(InterruptedException e){
					e.printStackTrace();
				}finally{
					Intent openStartingPoint = new Intent("camt.andy.demo.SUBPAGE");
					startActivity(openStartingPoint); 
				}
			}
			
		};
		
		timer.start();
        
        
    }

	@Override
	protected void onPause() {
		// TODO Auto-generated method stub
		super.onPause();
		
		finish();
	}
    
    
}